package com.himalayan.bear.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.himalayan.bear.entity.UserFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zjk
 * @since 2019-04-25
 */
public interface UserFileMapper extends BaseMapper<UserFile> {

    /**
     * 查询用户文件表和文件夹表内容
     *
     * @param parentId
     * @param userId
     * @return
     */
    List<Map<String, Object>> listAll(@Param("parentId") String parentId, @Param("userId") String userId);
}
